package testString_Buffer_Builder.testStringTokenaizer;

import java.util.StringTokenizer;

public class TestStringTokenizer {

	public static void main(String[] args) {
		String str = "aidofadfdlksfsa , asdfoi jadsf StringTokenizer, create by myong";
		StringTokenizer st= new StringTokenizer(str);
		System.out.println("---- split by space ----");
		while (st.hasMoreElements()) {
			System.out.println(st.nextElement());
			}
		System.out.println("----- split by , -------");
		//StringTokenizer st= new StringTokenizer(str);
		
		//revisar els exemples del profe
	}

}
